From: Chris Mason Date: Thu, 30 Aug 2007 16:16:51 +0000 (-0400) Subject: Btrfs: remove extra drop_extent_cache call X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~24178^2~11^2~55^2~56^2~30^2~499 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8e21528f87854314792aaef4d279bc9e5a9be997;p=linux-4.9.git Btrfs: remove extra drop_extent_cache call Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 07b121d4bd93..acef8cb7fb79 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -406,8 +406,6 @@ next_slot: keep = 1; WARN_ON(start & (root->blocksize - 1)); if (found_extent) { - btrfs_drop_extent_cache(inode, key.offset, - start - 1 ); new_num = (start - key.offset) >> inode->i_blkbits; old_num = btrfs_file_extent_num_blocks(extent);